/*!
	@file
	@author		George Evmenov
	@date		07/2009
*/

#ifndef __MYGUI_OPENGL_PLATFORM_H__
#define __MYGUI_OPENGL_PLATFORM_H__

#include "MyGUI_Prerequest.h"
#include "MyGUI_EggDiagnostic.h"
#include "MyGUI_EggRenderManager.h"
#include "MyGUI_EggDataManager.h"
#include "MyGUI_LogManager.h"

namespace MyGUI{

	class EggPlatform
	{
	public:
		EggPlatform();
		~EggPlatform();

		void initialise(const std::string& _logName = MYGUI_PLATFORM_LOG_FILENAME);
		void shutdown();

		EggRenderManager* getRenderManagerPtr();
		EggDataManager* getDataManagerPtr();

	private:
		bool mIsInitialise;
		EggRenderManager* mRenderManager;
		EggDataManager* mDataManager;
		LogManager* mLogManager;
	};

} // namespace MyGUI

#endif // __MYGUI_OPENGL_PLATFORM_H__
